#include <iostream>

using namespace std;

class Shape {
	private:
		int length;
		int breath;
	public:
		Shape();
		~Shape();
		void setLength(int);
		void setBreath(int);
		int getLength();
		int getBreath();
		static int getArea(int, int);
};

class Node {
	public:
		Node();
		~Node();
		void setNext(Node*);
		void setData(Shape);
		Shape getData();
		Node* getNext();
		private:
		Shape data;
		Node* next;
};


